<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>管理员操作按钮-美乐车网</title>
<%@include file="/WEB-INF/header.jsp" %>
<link href="${ctx}/css/pagination.css" rel="stylesheet" media="screen">
<link href="${ctx}/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="${ctx}/css/index.css"/>
<link rel="stylesheet" type="text/css" href="${ctx}/js/superfish-1.4.8/css/superfish.css" media="screen">
<link href="${ctx}/image/meileche.jpg" rel="shortcut icon"/>	
<script type="text/javascript" src="${ctx}/js/common/jquery-1.7.1.min.js"></script>
    <script src="${ctx}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/js/common/jquery.pagination.js"></script>
<script type="text/javascript" src="${ctx}/js/common/jquery.cookie.js"></script>
<script type="text/javascript" src="${ctx}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="${ctx}/js/superfish-1.4.8/js/hoverIntent.js"></script>
<script type="text/javascript" src="${ctx}/js/superfish-1.4.8/js/superfish.js"></script>
<script type="text/javascript" src="${ctx}/layer/layer.js"></script>
<script type="text/javascript">
function cleanTemp_Rent(){
	$.ajax({
		type: "post",
		dataType: "text",
		url: "${ctx}/temp?action=0",
		success: function(v){
			if(v == "1"){
				layer.alert("清除成功！");
			}else{
				layer.alert("清除失败！");
			}
		}
	});
}

function cleanTemp_Price(){
	$.ajax({
		type: "post",
		dataType: "text",
		url: "${ctx}/temp?action=0",
		success: function(v){
			if(v == "1"){
				layer.alert("清除成功！");
			}else{
				layer.alert("清除失败！");
			}
		}
	});
}
</script>
<style type="text/css">

table tr
{
	margin: 0px 0px 0px 0px;
}
</style>
</head>
<body>
	<%@include file="menu.jsp" %>
	<div style="width:1000px;min-height:30px;margin-left:auto;margin-right:auto;border-bottom: 1px solid #ccc;">
	<img src="../image/daohang.jpg" style="width:20px;height:20px;vertical-align: bottom;"/>
	<a href="http://www.meileche.com">美乐车网</a>-><a href="http://www.meileche.com/admin/index.jsp">管理员后台</a>-><a href="http://www.meileche.com/admin/index.jsp">后台按钮管理</a>->按钮操作
	</div>
	<div style="width:1000px;min-height:50px;margin-top:10px;margin-left:auto;margin-right:auto;">
		<input type="button" onclick="cleanTemp_Rent();" class="btn btn-primary" style="width:200px;margin-right: 10px;" value="清空租车上传图片临时库"/>
		<input type="button" onclick="cleanTemp_Price();" class="btn btn-primary" style="width:200px;margin-right: 10px;" value="清空报价上传图片临时库"/>
	</div>
	
</body>
</html>
